const profile = ref<import("api/user").ProfileResponse>();
export default profile;
export const getProfile = async (): Promise<
  import("api/user").ProfileResponse
> => {
  const res = await api.user.getProfileReq();
  profile.value = res.data;
  return res.data;
};
